#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>

char* my_strcpy( char* str1, const char* str2)
{
	assert(str1 && str2);
	char* ret = str1;
	while (*str1++ = *str2++)
	{

	}
	return ret;
}
int main201()
{
	char str1[] = "xxxxxxxx";
	char str2[] = "asdfn";
	char* ret = my_strcpy(str1, str2);
	printf("%s\n", ret);
	return 0;
}